package com.ruoyi.movie.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电影分级关联对象 movie_level
 *
 * @author ruoyi
 * @date 2025-10-28
 */
public class MovieLevel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 电影分级关联ID */
    private Integer movieLevelId;

    /** 电影ID */
    @Excel(name = "电影ID")
    private Integer movieId;

    /** 分级ID */
    @Excel(name = "分级ID")
    private Integer levelId;

    public Integer getMovieLevelId()
    {
        return movieLevelId;
    }

    public void setMovieLevelId(Integer movieLevelId)
    {
        this.movieLevelId = movieLevelId;
    }

    public Integer getMovieId()
    {
        return movieId;
    }

    public void setMovieId(Integer movieId)
    {
        this.movieId = movieId;
    }

    public Integer getLevelId()
    {
        return levelId;
    }

    public void setLevelId(Integer levelId)
    {
        this.levelId = levelId;
    }

    @Override
    public String toString()
    {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("movieLevelId", getMovieLevelId())
            .append("movieId", getMovieId())
            .append("levelId", getLevelId())
            .toString();
    }
}
